﻿using AbstractFactoryPattern.Abstractions;
using AbstractFactoryPattern.Ingredients;
using System;
using System.Collections.Generic;
using System.Text;

namespace AbstractFactoryPattern.ConcreteFactories
{
    //柳州加工厂类
    public class LZPizzaIngredientFactory : IPizzaIngredientFactory
    {
        //材料复制芝加哥加工厂类
        public IDough CreateDough()//生面团
        {
            return new LZThickDough(); 
        }
        public ICheese CreateCheese()//奶酪
        {
            return new LZhotCheese();
        }
        public IClams CreateClams()//蛤蚌
        {
            return new LZlgmClams();
        }
        public ISauce CreateSauce()//酱油
        {
            return new LZMarinaraSauce();
        }
    }
}
